package com.study.example.gameserver.config;

import com.sparrow.common.excel.ExcelReader;
import com.sparrow.common.util.JsonUtil;
import com.sparrow.resource.annotation.ID;
import com.sparrow.resource.annotation.Resource;

import java.util.List;

@Resource("config/SceneResource.xlsx")
public class SceneResource {
    @ID
    private int id;
    /**
     * 九宫格大区域宽，高各有多少个格子
     */
    private int areaWidth;
    /**
     * 出生位置
     */
    private int[] spawn;
    /**
     * 地图数据名字
     */
    private String mapDataName;
    /**
     * 分线数量
     */
    private int lineNum;

    private String clientScene;

    private String name;
    /**
     * 刷怪数据
     */
    private String monsterSpawn;

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getMapDataName() {
        return mapDataName;
    }

    public void setMapDataName(String mapDataName) {
        this.mapDataName = mapDataName;
    }

    public int[] getSpawn() {
        return spawn;
    }

    public void setSpawn(int[] spawn) {
        this.spawn = spawn;
    }

    public void setAreaWidth(int areaWidth) {
        this.areaWidth = areaWidth;
    }

    public int getAreaWidth() {
        return areaWidth;
    }

    public int getLineNum() {
        return lineNum;
    }

    public void setLineNum(int lineNum) {
        this.lineNum = lineNum;
    }

    public String getMonsterSpawn() {
        return monsterSpawn;
    }

    public void setMonsterSpawn(String monsterSpawn) {
        this.monsterSpawn = monsterSpawn;
    }

    public void setClientScene(String clientScene) {
        this.clientScene = clientScene;
    }

    public String getClientScene() {
        return clientScene;
    }
}
